[INFO] fetching crate file_hashmap 0.1.0...
[INFO] building file_hashmap-0.1.0 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate file_hashmap 0.1.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate file_hashmap 0.1.0 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate file_hashmap 0.1.0
[INFO] finished tweaking crates.io crate file_hashmap 0.1.0
[INFO] tweaked toml for crates.io crate file_hashmap 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e783da7658e5657fcbb8744d6b065ce47e807601ac0a9754b35c66a1929505b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9e783da7658e5657fcbb8744d6b065ce47e807601ac0a9754b35c66a1929505b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e783da7658e5657fcbb8744d6b065ce47e807601ac0a9754b35c66a1929505b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e783da7658e5657fcbb8744d6b065ce47e807601ac0a9754b35c66a1929505b", kill_on_drop: false }`
[INFO] [stdout] 9e783da7658e5657fcbb8744d6b065ce47e807601ac0a9754b35c66a1929505b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3b7b2d393cc558bbb676686013421e560a03b1f26a70d057893fa008068eac9b
[INFO] running `Command { std: "docker" "start" "-a" "3b7b2d393cc558bbb676686013421e560a03b1f26a70d057893fa008068eac9b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling bitflags v0.4.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling cast v0.1.0
[INFO] [stderr]    Compiling nix v0.7.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling file_hashmap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `alloc::heap`
[INFO] [stdout]   --> src/hashmap/table.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use alloc::heap::EMPTY;
[INFO] [stdout]    |            ^^^^ could not find `heap` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::ptr::Shared`
[INFO] [stdout]   --> src/hashmap/table.rs:21:30
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::ptr::{self, Unique, Shared};
[INFO] [stdout]    |                              ^^^^^^ no `Shared` in `ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]    --> src/hashmap/table.rs:657:22
[INFO] [stdout]     |
[INFO] [stdout] 657 |             ::alloc::oom()
[INFO] [stdout]     |                      ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]     --> src/hashmap/map.rs:1562:34
[INFO] [stdout]      |
[INFO] [stdout] 1562 |     fn next(&mut self) -> Option<(&'a K)> {
[INFO] [stdout]      |                                  ^^^^^^^ help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]     --> src/hashmap/map.rs:1580:34
[INFO] [stdout]      |
[INFO] [stdout] 1580 |     fn next(&mut self) -> Option<(&'a V)> {
[INFO] [stdout]      |                                  ^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]     --> src/hashmap/map.rs:1598:34
[INFO] [stdout]      |
[INFO] [stdout] 1598 |     fn next(&mut self) -> Option<(&'a mut V)> {
[INFO] [stdout]      |                                  ^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/raw_alloc.rs:24:52
[INFO] [stdout]    |
[INFO] [stdout] 24 |     static ref PATH: RwLock<PathBuf> = RwLock::new(env::home_dir().unwrap_or(".".into()));
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/raw_alloc.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / lazy_static! {
[INFO] [stdout] 24 | |     static ref PATH: RwLock<PathBuf> = RwLock::new(env::home_dir().unwrap_or(".".into()));
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/raw_alloc.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / lazy_static! {
[INFO] [stdout] 24 | |     static ref PATH: RwLock<PathBuf> = RwLock::new(env::home_dir().unwrap_or(".".into()));
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/hashmap/table.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::ptr::{self, Unique, Shared};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/hashmap/table.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |     hashes: Unique<HashUint>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/hashmap/table.rs:624:25
[INFO] [stdout]     |
[INFO] [stdout] 624 |                 hashes: Unique::new(EMPTY as *mut HashUint),
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/hashmap/table.rs:665:21
[INFO] [stdout]     |
[INFO] [stdout] 665 |             hashes: Unique::new(hashes),
[INFO] [stdout]     |                     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals'
[INFO] [stdout]   --> src/hashmap/map.rs:19:44
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::hash::{Hash, Hasher, BuildHasher, SipHasher13};
[INFO] [stdout]    |                                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals'
[INFO] [stdout]     --> src/hashmap/map.rs:2053:26
[INFO] [stdout]      |
[INFO] [stdout] 2053 | pub struct DefaultHasher(SipHasher13);
[INFO] [stdout]      |                          ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals'
[INFO] [stdout]     --> src/hashmap/map.rs:2040:23
[INFO] [stdout]      |
[INFO] [stdout] 2040 |         DefaultHasher(SipHasher13::new_with_keys(self.k0, self.k1))
[INFO] [stdout]      |                       ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals'
[INFO] [stdout]     --> src/hashmap/map.rs:2063:23
[INFO] [stdout]      |
[INFO] [stdout] 2063 |         DefaultHasher(SipHasher13::new_with_keys(0, 0))
[INFO] [stdout]      |                       ^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]    --> src/hashmap/table.rs:624:25
[INFO] [stdout]     |
[INFO] [stdout] 624 |                 hashes: Unique::new(EMPTY as *mut HashUint),
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/hashmap/table.rs:624:25
[INFO] [stdout]     |
[INFO] [stdout] 624 |                 hashes: Unique::new(EMPTY as *mut HashUint),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Unique<usize>`
[INFO] [stdout]                  found enum `Option<Unique<_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]    --> src/hashmap/table.rs:665:21
[INFO] [stdout]     |
[INFO] [stdout] 665 |             hashes: Unique::new(hashes),
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/hashmap/table.rs:665:21
[INFO] [stdout]     |
[INFO] [stdout] 665 |             hashes: Unique::new(hashes),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Unique<_>`
[INFO] [stdout]                  found enum `Option<Unique<_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<usize>` cannot be dereferenced
[INFO] [stdout]    --> src/hashmap/table.rs:674:22
[INFO] [stdout]     |
[INFO] [stdout] 674 |         let buffer = *self.hashes as *mut u8;
[INFO] [stdout]     |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<usize>` cannot be dereferenced
[INFO] [stdout]    --> src/hashmap/table.rs:680:23
[INFO] [stdout]     |
[INFO] [stdout] 680 |                 hash: *self.hashes,
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<usize>` cannot be dereferenced
[INFO] [stdout]    --> src/hashmap/table.rs:692:30
[INFO] [stdout]     |
[INFO] [stdout] 692 |             ptr::write_bytes(*ret.hashes, 0, capacity);
[INFO] [stdout]     |                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `offset` found for struct `Unique<usize>` in the current scope
[INFO] [stdout]    --> src/hashmap/table.rs:711:46
[INFO] [stdout]     |
[INFO] [stdout] 711 |             hashes_end: unsafe { self.hashes.offset(self.capacity as isize) },
[INFO] [stdout]     |                                              ^^^^^^ method not found in `Unique<usize>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<usize>` cannot be dereferenced
[INFO] [stdout]     --> src/hashmap/table.rs:1093:24
[INFO] [stdout]      |
[INFO] [stdout] 1093 |             deallocate(*self.hashes as *mut u8, size, align);
[INFO] [stdout]      |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals'
[INFO] [stdout]     --> src/hashmap/map.rs:2040:23
[INFO] [stdout]      |
[INFO] [stdout] 2040 |         DefaultHasher(SipHasher13::new_with_keys(self.k0, self.k1))
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'hashmap_internals'
[INFO] [stdout]     --> src/hashmap/map.rs:2063:23
[INFO] [stdout]      |
[INFO] [stdout] 2063 |         DefaultHasher(SipHasher13::new_with_keys(0, 0))
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: add `#![feature(hashmap_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0614, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `file_hashmap`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "3b7b2d393cc558bbb676686013421e560a03b1f26a70d057893fa008068eac9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b7b2d393cc558bbb676686013421e560a03b1f26a70d057893fa008068eac9b", kill_on_drop: false }`
[INFO] [stdout] 3b7b2d393cc558bbb676686013421e560a03b1f26a70d057893fa008068eac9b
